export default function (Layout) {
  return [
    {
      path: '/example', redirect: '/example/table', component: Layout,
      meta: {title: 'Example', icon: 'dashboard', roles: ['admin']},
      children: [
        {
          path: 'table', name: 'Table', component: () => import('@/pages/table/index.vue'),
          meta: {title: '表哥？', icon: 'table', noCache: false}
        }
      ]
    }
  ];
}